/*
 * File Name : directory.h
 * Auther : dream.liuguobiao
 * Create Date : 2010-5-6
 * Last Edit : 2010-5-6
 */


#ifndef DIRECTORY_H
#define DIRECTORY_H

#include "node.h"

class directory:public node
{
private:
  node *son;
  int type;
public:
  directory();
  virtual ~directory(){};
  virtual int get_type();
  virtual float get_size();
  virtual std::string *get_data(){return NULL; }
  virtual bool set_data( std::string *new_data ) { return false; }

  node *get_son();
  bool set_son( node *new_son );

};

#endif
